import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'

import 'element-ui/lib/theme-chalk/index.css'
import elementUI  from 'element-ui'
Vue.use(elementUI, { /*size: 'mini'*/ })

// fragment 标签不会被渲染
import Fragment from 'vue-fragment'
Vue.use(Fragment.Plugin)

import CRUD from '@/components/CRUD'
Vue.component('CRUD', CRUD)

Vue.config.productionTip = false

new Vue({
    router,
    store,
    render: h => h(App)
}).$mount('#app')
